namespace SubSonic
{
    using System;

    public class GenericConstraint : IConstraint
    {
        private readonly SubSonic.Comparison comparison;
        private readonly object value;

        public GenericConstraint(SubSonic.Comparison comparison, object value)
        {
            this.comparison = comparison;
            this.value = value;
        }

        public SubSonic.Comparison Comparison
        {
            get
            {
                return this.comparison;
            }
        }

        public object Value
        {
            get
            {
                return this.value;
            }
        }
    }
}

